<!--<include file="public+header" />-->

<!--{~$sCalendarLang=Core_Extend::calendar()}-->
<script type="text/javascript" src="<!--{:__PUBLIC__}-->/js/calendar/datepicker/WdatePicker.js"></script>

<!--{:Core_Extend::emotion()}-->

<!--{script}-->
$(function(){
	$('.jiajucompanycomment_content').emotionsToHtml();
});

function replyComment(nId){
	windsforceAjax(Q.U('jiajucompanycomment/reply?id='+nId),'回复点评','',completeReplycomment,'',600,270,'',0,0);
}

function completeReplycomment(){
	Q.AjaxSubmit('replyAdd','<!--{:Q::U('jiajucompanycomment/reply')}-->','',function(data,status){
		if(status==1){
			$('#jiajucompanycommentreply-'+data.comment_id).html('['+data.user_name+']&nbsp;'+data.reply_content+'&nbsp;'+data.reply_time);
		}

		return true;
	});
}
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current">网友点评列表</a></article>
		</div>
	</section>

	<section id="main" class="column">

		<article class="module width_full">
			<header><h3><!--<lang package='Template'>-->操作提示<!--</lang>--></h3>
			</header>
			<div class="module_content">
				<ul>
					<li>这里为网友点评数据列表，你可以对点评进行回复。</li>
				</ul>
			</div>

			<div class="module_content">
				<form method='get' action="<!--{:Q::U( 'jiajucompanycomment/index' )}-->" class="quick_search">
					<table cellspacing="3" cellpadding="3">
						<tr>
							<th>作者</th>
							<td><input type="text" name="jiajucompanycomment_name" title="作者" value="<!--{:Q::G('jiajucompanycomment_name')}-->"></td>
							<th><!--<lang package='Template'>-->结果排序<!--</lang>--></th>
							<td>
								<select name="order_">
									<option value="" <!--{if !Q+G('order_')}-->selected<!--{/if}-->><!--<lang package='Template'>-->排序字段<!--</lang>--></option>
									<option value="jiajucompanycomment_id" <!--{if Q+G('order_')=='jiajucompanycomment_id'}-->selected<!--{/if}-->><!--<lang package='Template'>-->编号<!--</lang>--></option>
									<option value="jiajucompanycomment_status" <!--{if Q+G('order_')=='jiajucompanycomment_status'}-->selected<!--{/if}-->><!--<lang package='Template'>-->状态<!--</lang>--></option>
									<option value="create_dateline" <!--{if Q+G('order_')=='create_dateline'}-->selected<!--{/if}-->><!--<lang package='Template'>-->添加时间<!--</lang>--></option>
								</select>
								<select name="sort_">
									<option value="" <!--{if !Q+G('sort_')}-->selected<!--{/if}-->><!--<lang package='Template'>-->默认排序<!--</lang>--></option>
									<option value="desc" <!--{if Q+G('sort_')=='desc'}-->selected<!--{/if}-->><!--<lang package='Template'>-->递增<!--</lang>--></option>
									<option value="asc" <!--{if Q+G('sort_')=='asc'}-->selected<!--{/if}-->><!--<lang package='Template'>-->递减<!--</lang>--></option>
								</select>
								<select name="perpage">
									<option value="" <!--{if !Q+G('perpage')}-->selected<!--{/if}-->><!--<lang package='Template'>-->默认每页数量<!--</lang>--></option>
									<option value="10" <!--{if Q+G('perpage')==10}-->selected<!--{/if}-->><!--<lang package='Template'>-->每页数量<!--</lang>-->(10)</option>
									<option value="20" <!--{if Q+G('perpage')==20}-->selected<!--{/if}-->><!--<lang package='Template'>-->每页数量<!--</lang>-->(20)</option>
									<option value="50" <!--{if Q+G('perpage')==50}-->selected<!--{/if}-->><!--<lang package='Template'>-->每页数量<!--</lang>-->(50)</option>
									<option value="100" <!--{if Q+G('perpage')==100}-->selected<!--{/if}-->><!--<lang package='Template'>-->每页数量<!--</lang>-->(100)</option>
									<option value="200" <!--{if Q+G('perpage')==200}-->selected<!--{/if}-->><!--<lang package='Template'>-->每页数量<!--</lang>-->(200)</option>
									<option value="500" <!--{if Q+G('perpage')==500}-->selected<!--{/if}-->><!--<lang package='Template'>-->每页数量<!--</lang>-->(500)</option>
								</select>
							</td>
						</tr>
						<tr>
							<th>UID</th>
							<td><input type="text" name="user_id" title="UID" value="<!--{:Q::G('user_id')}-->" onkeyup="this.value = this.value.replace(/[^-0-9]/g,'');" /></td>
							<th><!--<lang package='Template'>-->添加时间<!--</lang>--></th>
							<td>
								<input type="text" id="start_time" name="start_time" value="<!--{:Q::G('start_time')}-->" onfocus="WdatePicker({el:'start_time',skin:'ext',lang:'<!--{$sCalendarLang}-->',dateFmt:'yyyy-MM-dd'})">
								&nbsp;~&nbsp;
								<input type="text" id="end_time" name="end_time" value="<!--{:Q::G('end_time')}-->"  onfocus="WdatePicker({el:'end_time',skin:'ext',lang:'<!--{$sCalendarLang}-->',dateFmt:'yyyy-MM-dd'})">
							</td>
						</tr>
						<tr>
							<th>评论级别</th>
							<td><select name="jiajucompanycomment_level">
									<option value="" <!--{if Q+G('jiajucompanycomment_level')===null || Q+G('jiajucompanycomment_level')==''}-->selected<!--{/if}-->><!--<lang package='Template'>-->全部<!--</lang>--></option>
									<!--<for start="1" end="5" var="nLevel">-->
									<option value="<!--{$nLevel}-->" <!--{if isset($_GET['jiajucompanycomment_level']) && $_GET['jiajucompanycomment_level']!='' && $_GET['jiajucompanycomment_level']==$nLevel}-->selected<!--{/if}-->><!--{$nLevel}-->星</option>
									<!--</for>-->
								</select>
							</td>
							<th><!--<lang package='Template'>-->状态<!--</lang>--></th>
							<td><select name="jiajucompanycomment_status">
									<option value="" <!--{if !isset($nIsStatus)}-->selected<!--{/if}-->><!--<lang package='Template'>-->全部<!--</lang>--></option>
									<option value="1" <!--{if isset($nIsStatus) && $nIsStatus==1}-->selected<!--{/if}-->><!--<lang package='Template'>-->已审<!--</lang>--></option>
									<option value="0" <!--{if isset($nIsStatus) && $nIsStatus===0}-->selected<!--{/if}-->><!--<lang package='Template'>-->待审<!--</lang>--></option>
								</select>
							</td>
						</tr>
						<tr>
							<th>回复内容</th>
							<td>
								<input type="text" name="jiajucompanycomment_replycontent" title="回复内容" value="<!--{:Q::G('jiajucompanycomment_replycontent')}-->" />
							</td>
							<td colspan="2">
								<input type="text" name="jiajucompanycomment_content" title="点评内容" value="<!--{:Q::G('jiajucompanycomment_content')}-->" class="quicksearch_text">
								&nbsp;<input type="submit" id="" value="<!--<lang package='Template'>-->查询<!--</lang>-->" onclick="" class="alt_btn">
							</td>
						</tr>
					</table>
					<input type="hidden" name="c" value="<!--{:MODULE_NAME}-->"/>
					<input type="hidden" name="a" value="<!--{:ACTION_NAME}-->"/>
				</form>
			</div>
		</article>
		
		<article class="module width_full">
			<header><h3 class="tabs_involved"><a href="<!--{:Q::U('jiajucompanycomment/index')}-->">网友点评列表</a></h3></header>
			<div class="module_content">
				<table class="tablesorter" cellspacing="0" id="checkList">
					<thead>
						<tr>
							<th>点评内容</th>
							<th width="100px">添加时间</th>
							<th width="50px">状态</th>
							<th width="50px">操作</th>
						</tr>
					</thead>
					<tbody>
						<!--{if !empty($arrLists)}-->
						<!--<foreach for=arrLists>-->
						<tr id="datalist-<!--{$value['jiajucompanycomment_id']}-->">
							<td><div class="jiajucompanycomment_content"><span style="color:#ED145B;">[<!--{$value['jiajucompanycomment_name']}-->]</span>&nbsp;<!--{$value['jiajucompanycomment_content']|Core_Extend+ubb=false}-->&nbsp;<a href="javascript:void(0);" onclick="viewCompanymessage('jiajucompanycomment',<!--{$value['jiajucompanycomment_id']}-->);" style="color:#47D765;">[提醒]</a></div>
								<p style="color:#0DD07F;" id="jiajucompanycommentreply-<!--{$value['jiajucompanycomment_id']}-->">
									<!--{if $value['jiajucompanycomment_replycontent']}-->
									[<!--{$value['jiajucompanycomment_replyusername']}-->]&nbsp;<!--{$value['jiajucompanycomment_replycontent']|Core_Extend+ubb=false}-->&nbsp;<!--{$value['jiajucompanycomment_replytime']|date='Y-m-d H:i',**}-->
									<!--{/if}-->
								</p>
								<p style="color:#999;border:1px dashed #E0E2E4;width:500px;padding:3px 5px;">
									总体评分星级：<b style="color:#ED145B;"><!--{$value['jiajucompanycomment_level']}--></b>&nbsp;星,&nbsp;&nbsp;
									服务：<b style="color:#ED145B;"><!--{$value['jiajucompanycomment_level1']}--></b>&nbsp;分,&nbsp;&nbsp;
									价格：<b style="color:#ED145B;"><!--{$value['jiajucompanycomment_level2']}--></b>&nbsp;分,&nbsp;&nbsp;
									设计：<b style="color:#ED145B;"><!--{$value['jiajucompanycomment_level3']}--></b>&nbsp;分,&nbsp;&nbsp;
									施工：<b style="color:#ED145B;"><!--{$value['jiajucompanycomment_level4']}--></b>&nbsp;分,&nbsp;&nbsp;
									售后：<b style="color:#ED145B;"><!--{$value['jiajucompanycomment_level5']}--></b>&nbsp;分
								</p>
							</td>
							<td><span class="<!--{:Admin_Extend::dateColor($value['create_dateline'])}-->"><!--{$value['create_dateline']|date='Y-m-d',**}--></span><br/>
								<span class="smallDatecolor"><!--{$value['create_dateline']|date='H:i',**}--></span>
							</td>
							<td><!--{:Admin_Extend::getStatus($value['jiajucompanycomment_status'])}--></td>
							<td>
								<a href="javascript:replyComment('<!--{$value['jiajucompanycomment_id']}-->');">回复</a>
							</td>
						</tr>
						<!--</foreach>-->
						<!--{d*else}-->
						<tr>
							<td colspan="4">暂时没有发现任何记录</td>
						</tr>
						<!--{/if}-->
					</tbody>
				</table>
			</div>

			<div class="module_content operate_box">
				<div class="left">
					<!--{$sPageNavbar}-->
				</div>
				<div class="clearfix"></div>
			</div>
		</article>

<!--<include file="public+footer">-->